package com.example.assignment01_javaee.Dao;

import com.example.assignment01_javaee.Entity.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Mapper
public interface SupplierDao {
    List<Supplier> getAllSuppliers();

    Supplier getSupplierById(Integer supplierId);

    void createSupplier(Supplier supplier);

    void updateSupplierById(Supplier supplier);

    void deleteSupplierById(Integer supplierId);


}
